package com.wootion.cims;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@MapperScan(basePackages = {"com.wootion.cims.dao"})//开启mybatis包扫描
@EnableTransactionManagement//开启事物支持
@ServletComponentScan//@WebServlet、@WebFilter、@WebListener注解都可以被扫描到了
public class CimsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CimsApplication.class, args);
    }
}
